package coml.jiyun.hp.gjtk_e.net;

import java.util.Map;

import coml.jiyun.hp.gjtk_e.bean.ListBean;
import coml.jiyun.hp.gjtk_e.bean.TabBean;
import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.QueryMap;

public interface ApiService {

    //https://www.wanandroid.com/project/tree/json
    String BSER_URL="https://www.wanandroid.com/";
    @GET("project/tree/json")
    Observable<TabBean> getData();

    //https://www.wanandroid.com/project/list/1/json?cid=294
    String PLAY_URL="https://www.wanandroid.com/";
    @GET("project/list/{num}/json")
    Observable<ListBean> getdata(@Path("num") int num, @QueryMap Map<String, Object> map);

}
